export default defineAppConfig({
  pages: [
    'pages/index/index',
    'pages/home/home',
    'pages/cart/cart',
    'pages/user/user',
    "pages/detail/detail"
  ],
  window: {
    backgroundTextStyle: 'light',
    navigationBarBackgroundColor: '#fff',
    navigationBarTitleText: 'WeChat',
    navigationBarTextStyle: 'black'
  },
  tabBar: {
    list: [
      {
        pagePath: 'pages/index/index',
        text: '首页',
      },
      {
        pagePath: 'pages/home/home',
        text: '分类',
      },
      {
        pagePath: 'pages/cart/cart',
        text: '购物车',
      },
      {
        pagePath: 'pages/user/user',
        text: '我的',
      }
    ]
  }
})
